<ion-view view-title="注册" cache-view="false" ng-init="init()">
  <ion-content class="login_bg">
    <section class="g_main">
      <div class="login_box">
        <div class="login_form">
          <ul>
            <li>
              <input type="tel" placeholder="请输入手机号码" ng-model="data.phone">
            </li>
            <li>
              <input type="password" placeholder="请输入密码" ng-model="data.password">
            </li>
            <li>
              <input type="password" placeholder="请再次输入密码" ng-model="data.password_again">
            </li>
            <li class="auth_code">
              <input type="tel" placeholder="请输入验证码" ng-model="data.verify_code">
              <button class="get_code" ng-click="getVfCode()" ng-disabled="css.vfbtndisable">
                {{labels.getcodeLabel}}
              </button>
            </li>  
              <li>
              <input type="text" placeholder="请输入邀请码" ng-model="data.inviter">
            </li>         
          </ul>
          <!--div class="type_sel type_sel_register">
            <h3>
              请选择您的身份
            </h3>            
            <label>
              <input type="radio" name="type_sel" id="huozhu" class="radio" value="1" ng-model="data.member_type">
              <span>
                货主
              </span>
            </label>
            <label>
              <input type="radio" name="type_sel" id="chezhu" class="radio" value="0" ng-model="data.member_type">
              <span>
                车主
              </span>
            </label>
            <label>
              <input type="radio" name="type_sel" id="wuliugongsi" class="radio" value="2" ng-model="data.member_type">
              <span>
                物流公司
              </span>
            </label>
          </div-->
          <p class="register_tips checkbox" style="text-align: left;position: static;padding-top: 10px;line-height: 30px;font-size: 15px;">
            <input type="checkbox" ng-click="toggleagree()" style="float:left"/>&nbsp;&nbsp;
            我已阅读并同意<a class="openwebview" ng-click="toprotocol()">
              用户协议
            </a>
          </p>
          <button class="btn_save openwebview" ng-click="register()">
            注册
          </button>
        </div>
      </div>
    </section>
  </ion-content>
</ion-view>